package com.zenchn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * 当前用户首次修改密码提交对象
 *
 * @author dingxinfa
 * @date 2020-04-30
 **/
@ApiModel(value="当前用户首次修改密码提交对象",description="当前用户首次修改密码提交对象")
public class FirstModifyPwdDO {


    @ApiModelProperty(value="手机号码")
    private String tel;

    @ApiModelProperty(value="验证码")
    private String captcha;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value="密码(无需sha256编码，需进行密码健壮性判断)")
    private String password;

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "FirstModifyPwdDO{" +
                "tel='" + tel + '\'' +
                ", captcha='" + captcha + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
